<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Y-Squeeze</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <!-- External CSS file reference instead of inline styles -->
    <link rel="stylesheet" href="styles/index.css">
</head>
<body>
    <!-- Floating background elements -->
    <div class="floating-elements">
        <div class="floating-element"></div>
        <div class="floating-element"></div>
        <div class="floating-element"></div>
        <div class="floating-element"></div>
    </div>

    <!-- Main container without sidebar -->
    <div class="main-container">
        <!-- Hero section -->
        <section class="hero-section">
            <h1 class="hero-title">Y-Squeeze<br></h1>
            <p class="hero-subtitle">
                集成注意力分析、内容压缩、样本生成和聚类筛选功能的专业AI文本处理工具
            </p>
            <div class="hero-buttons">
                <a href="attention.html" class="btn-primary">
                    <span>开始使用</span>
                    <i class="fas fa-arrow-right"></i>
                </a>
            </div>
        </section>

        <!-- Features section -->
        <section class="features-section" id="features">
            <h2 class="section-title">核心功能</h2>
            <div class="features-grid">
                <div class="feature-card" onclick="navigateToFeature('attention.html')">
                    <div class="feature-icon">
                        <i class="fas fa-brain"></i>
                    </div>
                    <h3 class="feature-title">注意力分析</h3>
                    <p class="feature-description">
                        深度分析文本中每个token的注意力权重，提供可视化的注意力分布图
                    </p>
                    <a href="attention.html" class="feature-button">
                        <span>开始分析</span>
                        <i class="fas fa-arrow-right"></i>
                    </a>
                </div>

                <div class="feature-card" onclick="navigateToFeature('compression.html')">
                    <div class="feature-icon">
                        <i class="fas fa-compress"></i>
                    </div>
                    <h3 class="feature-title">内容压缩</h3>
                    <p class="feature-description">
                        智能压缩长文本内容，保留关键信息的同时大幅减少文本长度
                    </p>
                    <a href="compression.html" class="feature-button">
                        <span>开始压缩</span>
                        <i class="fas fa-arrow-right"></i>
                    </a>
                </div>

                <div class="feature-card" onclick="navigateToFeature('generation.html')">
                    <div class="feature-icon">
                        <i class="fas fa-magic"></i>
                    </div>
                    <h3 class="feature-title">样本生成</h3>
                    <p class="feature-description">
                        基于训练语料生成高质量的文本样本，支持多种生成策略
                    </p>
                    <a href="generation.html" class="feature-button">
                        <span>开始生成</span>
                        <i class="fas fa-arrow-right"></i>
                    </a>
                </div>

                <div class="feature-card" onclick="navigateToFeature('clustering.html')">
                    <div class="feature-icon">
                        <i class="fas fa-project-diagram"></i>
                    </div>
                    <h3 class="feature-title">聚类筛选</h3>
                    <p class="feature-description">
                        对文本数据进行智能聚类分析，自动识别相似内容并进行分组
                    </p>
                    <a href="clustering.html" class="feature-button">
                        <span>开始聚类</span>
                        <i class="fas fa-arrow-right"></i>
                    </a>
                </div>
            </div>
        </section>
    </div>

    <!-- External JavaScript file reference instead of inline script -->
    <script src="scripts/index.js"></script>
</body>
</html>
